<%@ page pageEncoding="utf-8" %>
<form>
<ul>

<li style="text-align:center; list-style:none"><label for="remark">委托说明</label></li>
<li style="text-align:center; list-style:none">
<textarea name="remark" id="remark" cols="45" rows="5"></textarea></li>
<li style="text-align:center; list-style:none">
 <button class="subdelegate">提交委托</button>
</li>
</ul>
</form>
<script type="text/javascript">
<!--
//TODO 做好委托业务
  jQuery(document).ready(function(){
	  var owner = '${param.owner}';
	  var workflowId = $(param.workflowId);
	  var globalStepId = ${param.globalStepId};
	  $(".subdelegate").bind('click',function(){
		  var data  = {};
		  data.remark = $('#remark').val();
		  data.owner = owner;
		  data.workflowId = workflowId;
		  data.globalStepId = globalStepId;
		  
		  doAjaxPost('predeleagework.action',data);		  
		  
	  }).button();
	  
	  
	  
	  
  });//end of jQuery document ready event


//--
</script>